/**
 * @author yxw
 * date : 2014年3月4日 下午3:49:23 
 */
package com.tzinfo.tzb.domain;

import java.util.List;

public class DiaryList {
	private boolean success;
	private String msg;
	private List<DiaryData> data;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public List<DiaryData> getData() {
		return data;
	}

	public void setData(List<DiaryData> data) {
		this.data = data;
	}

	public static class DiaryData {
		private int id;
		private String title;
		private String message;
		private String ptime;
		private int supports;
		private int uid;
		private String username;
		private List<DiaryPhoto> photo;

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		public String getPtime() {
			return ptime;
		}

		public void setPtime(String ptime) {
			this.ptime = ptime;
		}

		public int getSupports() {
			return supports;
		}

		public void setSupports(int supports) {
			this.supports = supports;
		}

		public int getUid() {
			return uid;
		}

		public void setUid(int uid) {
			this.uid = uid;
		}

		public String getUsername() {
			return username;
		}

		public void setUsername(String username) {
			this.username = username;
		}

		public List<DiaryPhoto> getPhoto() {
			return photo;
		}

		public void setPhoto(List<DiaryPhoto> photo) {
			this.photo = photo;
		}

		public static class DiaryPhoto {
			private int id;
			private String picfile;

			public int getId() {
				return id;
			}

			public void setId(int id) {
				this.id = id;
			}

			public String getPicfile() {
				return picfile;
			}

			public void setPicfile(String picfile) {
				this.picfile = picfile;
			}

		}

	}

}
